<?php
namespace Admin\Model;
use Think\Model\RelationModel;

class WelfareListModel extends RelationModel {
	protected $_link = array(
		'userinfo' => array(
			'mapping_type'  => self::BELONGS_TO,
		    'class_name'    => 'Member',
		    'foreign_key'   => 'uid',
		    'mapping_fields'=>	'nickname'
		)

	);
}
